package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

/**
 * @author FangKun
 * @create 2024-04-08-11:36
 */
public interface DishService {


    PageResult queryPage(DishPageQueryDTO dishPageQueryDTO);

    void updateDishStatus(Integer status, Long id);

    void addDish(DishDTO dishDTO);

    DishVO selectDishById(Long id);

    void updateDish(DishDTO dishDTO);

    void deleteDish(List<Long> ids);

    List<DishVO> listWithFlavor(Long categoryId);

    List<Dish> selectDishByCategoryId(Long categoryId);
}
